package com.erli.exchange.core.beans.api;

import lombok.Getter;

/**
 * 
 * @Package com.erli.exchange.core.beans.api   
 * @ClassName:  ExceptionEnum   
 * @Description:TODO
 * @Author: LeeHo
 * @Date:   2019年3月18日 下午11:12:26   
 *
 */
@Getter
public enum ExceptionEnum {

	LOGIN_EXPIRED(10001, "未登录或登录已过期，请重新登录。"),
	TOKEN_IS_NULL(10002, "TOKEN不可为空"),
	AUTH_FAILURE(10003, "认证失败");

	private String msg;
	private int code;

	ExceptionEnum(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}
}
